package cn.gdk.gaodekecc.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-11-20
 */
@TableName("t_stock_war_log")
public class StockWarLog extends Model<StockWarLog> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "t_stock_log")
    private Integer tStockLog;
    @TableField("create_time")
    private Date createTime;
    @TableField("up_time")
    private Date upTime;
    @TableField("product_id")
    private Integer productId;
    @TableField("product_name")
    private String productName;
    private String info;
    @TableField("cur_time")
    private Date curTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer gettStockLog() {
        return tStockLog;
    }

    public void settStockLog(Integer tStockLog) {
        this.tStockLog = tStockLog;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Date getCurTime() {
        return curTime;
    }

    public void setCurTime(Date curTime) {
        this.curTime = curTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.tStockLog;
    }

    @Override
    public String toString() {
        return "StockWarLog{" +
        ", tStockLog=" + tStockLog +
        ", createTime=" + createTime +
        ", upTime=" + upTime +
        ", productId=" + productId +
        ", productName=" + productName +
        ", info=" + info +
        ", curTime=" + curTime +
        "}";
    }
}
